Why Do This Assignment?

You can create a subclass of an existing class that adds new functionality and changes how something in the parent class works. An example might be car and electric car. An electric car is like a car, but it runs on electricity instead of gas.

One of the advantages of object-oriented programming is using inheritance to specialize or generalize another class. You may have heard of someone inheriting musical ability from a parent or eye color. In object-oriented programming a class can inherit object attributes and behaviors from another class. The class that is inherited from is called the parent class and the class doing the inheriting is called the child class.

What Skills Will You Demonstrate By Completing This Assignment?

By completing this assignment you will demonstrate your ability to create a subclass and override an inherited method (specialization).